import { createRouter, createWebHashHistory } from 'vue-router'
import ProfileView from '@/views/ProfileView.vue'
import NicknameEditView from '@/views/NicknameEditView.vue'
const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'profile',
      component: ProfileView,
    },
    {
      path: '/editName',
      name: 'editName',

      component: NicknameEditView,
    },
  ],
})

export default router
